<template>
  <Mission></Mission>
</template>
<script lang="ts" setup>
import routerGuard from '../../utils/router-guard'
import { onLoad, onShow} from '@dcloudio/uni-app'
import { ref, reactive } from 'vue'
//导入组件
import Mission from './components/mission.vue'
onShow(async () => {
const pages = getCurrentPages()
const currentPage = pages[pages.length - 1]
const path = '/' + currentPage.route
routerGuard.checkRoute(path)
})


</script> 

<style scoped></style>